how to know end of a trend